﻿@model ArivisAccounts.Models.RegisterModel
@{
    ViewBag.Title = "Crew User";
}

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset style="display:inline-block">
    <legend>Create New Account</legend>
    <table class="editor-table">
        <tr>
            <td class="editor-label">
                @Html.LabelFor(m => m.UserName)
            </td>
            <td class="editor-field">
                @Html.TextBoxFor(m => m.UserName)
            </td>
        </tr>
        <tr>
            <td class="editor-label">
                @Html.LabelFor(m => m.Password)
            </td>
            <td class="editor-field">
                @Html.PasswordFor(m => m.Password)
            </td>
        </tr>
        <tr>
            <td class="editor-label">
                @Html.LabelFor(m => m.ConfirmPassword)
            </td>
            <td class="editor-field">
                @Html.PasswordFor(m => m.ConfirmPassword)
            </td>
        </tr>
    </table>

    <p style="margin-bottom:0">
        <input type="submit" value="Create Account" />
    </p>
</fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
